package cn.com.biz;

import java.util.List;

import cn.com.dao.PexaminationPackageDao;
import cn.com.entity.PexaminationPackage;

public class PexaminationPackageBiz {
	private PexaminationPackageDao pexaminationpackagedao;

	public PexaminationPackageDao getPexaminationpackagedao() {
		return pexaminationpackagedao;
	}

	public void setPexaminationpackagedao(
			PexaminationPackageDao pexaminationpackagedao) {
		this.pexaminationpackagedao = pexaminationpackagedao;
	}
	//查询全部套餐
	public List<PexaminationPackage> selectAllPexaminationPackage(){
		List<PexaminationPackage> list=pexaminationpackagedao.selectAllPexaminationPackage();
		return list;
	}
	//通过id查询套餐
	public PexaminationPackage selectPexaminationPackageByid(PexaminationPackage pexaminationpackage){
		PexaminationPackage pexaminationPackagebyid=pexaminationpackagedao.selectPexaminationPackageByid(pexaminationpackage);
		return pexaminationPackagebyid;
	}
	//增加套餐
	public boolean addPexaminationPackage(PexaminationPackage pexaminationpackage){
		boolean b=pexaminationpackagedao.addPexaminationPackage(pexaminationpackage);
		return b;
	}
	//删除套餐
	public boolean deletePexaminationPackage(PexaminationPackage pexaminationpackage){
		boolean b=pexaminationpackagedao.deletePexaminationPackage(pexaminationpackage);
		return b;
	}
	//修改套餐
	public boolean updatePexaminationPackage(PexaminationPackage pexaminationpackage){
		boolean b=pexaminationpackagedao.updatePexaminationPackage(pexaminationpackage);
		return b;
	}

}
